{include file="public/header" /}
{include file="public/banner_In" /}
<div class="layui-main">
    <div class="layui-container">

        <div class="layui-row layui-col-space15">

            <div class="layui-col-md8">
                {include file="public/location" /}
                <div class="fly-panel">
                    <div class="title-article">
                         <div class="badge">
                             {if $auth==2}
                            <span class="layui-badge">授权</span>
                             {else}
                            <span class="layui-badge layui-bg-green">免费</span>
                             {/if}
                         </div>
                        <h1>{$siteName}{$title}</h1>
                        <div class="title-msg">
                            <span><i class="layui-icon layui-icon-username"></i> {$username}</span>
                            <span><i class="layui-icon layui-icon-time"></i> {$inputtime|date='Y-m-d H:i'} </span>
                            <span><i class="layui-icon layui-icon-read"></i> {$hits} {:lang('Views')}</span>
                            {php}$info=get_addon_info('baidu_record');{/php}
                            {if $info && $info['status']>0}
                            <span><i class="iconfont icon-baidu"></i> {:hook('baidu_record')}</span>
                            {/if}
                        </div>
                    </div>
                    <div class="layui-carousel banner-show" id="slide">
                        <div carousel-item>
                            {if $images}
                            {volist name="images" id="vo"}
                            <div> <img src="{$vo}" class="img-responsive"></div>
                            {/volist}
                            {else}
                            <div> <img src="{$thumb}" class="img-responsive"></div>
                            {/if}
                        </div>
                    </div>
                </div>

                <div class="fly-panel">
                    <div class="layui-card case-content">
                        <div class="layui-card-body detail-body layui-text">
                            {$content|raw}
                        </div>
                    </div>
                </div>
                <div class="fly-panel">
                    <div class="layui-card">
                        <div class="layui-card-header">更新记录</div>
                        <div class="layui-card-body">
                            <ul class="layui-timeline">
                                {yzn module="cms" action="chapters" catid="$catid" did="$id" siteId="$site_id" cache="3600" order="id DESC" num="100" return="data"}
                                {volist name="data" id="item"}
                                <li class="layui-timeline-item">
                                    <i class="layui-icon layui-timeline-axis"></i>
                                    <div class="layui-timeline-content layui-text">
                                        <h3 class="layui-timeline-title">{:timeRule($item['inputtime'])}</h3>
                                        <p>{$item.chapter}</p>
                                        <ul>
                                            {$item.details|raw}
                                        </ul>
                                    </div>
                                </li>
                                {/volist}
                                {/yzn}
                                <li class="layui-timeline-item">
                                    <i class="layui-icon layui-timeline-axis"></i>
                                    <div class="layui-timeline-content layui-text">
                                        <h3 class="layui-timeline-title">{:timeRule($inputtime)}</h3>
                                        <p>首次发布</p>
                                        <ul>
                                            {$description}
                                        </ul>
                                    </div>
                                </li>
                                <li class="layui-timeline-item">
                                    <i class="layui-icon layui-timeline-axis"></i>
                                    <div class="layui-timeline-content layui-text">
                                        <div class="layui-timeline-title">无数个日夜开发中。。。</div>
                                    </div>
                                </li>
                            </ul>
                        </div>
                        {include file="public/page_text" /}
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">

                <div class="fly-panel">
                    <div class="layui-card">
                        <div class="layui-card-header"><i class="layui-icon layui-icon-vercode"></i> 打包授权</div>
                        <div class="layui-card-body">
                            <div class="text-left">
                                <div class="layui-tab layui-tab-brief" >
                                    <ul class="layui-tab-title auth-price">
                                        <li class="advanced"><i class="layui-icon layui-icon-ok-circle"></i> 高级授权
                                            <div class="pull-right text-danger">
                                                <span class="license-origin"><del>￥998.00</del></span>
                                                <span class="license-price"><em>￥</em>598.00</span>
                                            </div>
                                        </li>
                                        <li class="general layui-this"><i class="layui-icon layui-icon-ok-circle"></i> 标准授权
                                            <div class="pull-right text-danger">
                                                <span class="license-origin"><del>￥398.00</del></span>
                                                <span class="license-price"><em>￥</em>198.00</span>
                                            </div>
                                        </li>
                                    </ul>
                                    <div class="layui-tab-content ">
                                        <div class="layui-tab-item">

                                            <div class="auth-top auth-desc">
                                                <p><i class="layui-icon layui-icon-ok"></i> 长期免费更新升级</p>
                                                <p><i class="layui-icon layui-icon-ok"></i> 支持自营项目、外包项目使用</p>
                                                <p><i class="layui-icon layui-icon-ok"></i> 可使用dzd官方所有插件和模块以及YZN免费插件和模块</p>
                                            </div>
                                            <div class="auth-desc">
                                                <p><i class="layui-icon layui-icon-ok"></i> 提供源码，离线独立部署</p>
                                                <p><i class="layui-icon layui-icon-ok"></i> 群和社区技术支持</p>
                                                <p><i class="layui-icon layui-icon-ok"></i> 正版授权，允许商业使用</p>
                                                <p><i class="layui-icon layui-icon-close"></i> 禁止转售应用插件源码</p>
                                            </div>
                                            <blockquote class="layui-elem-quote"><i class="layui-icon layui-icon-add-circle-fine"></i> 单独授权
                                                <div class="pull-right text-danger">
                                                    <span class="license-origin"><del>￥0.00</del></span>
                                                    <span class="license-price"><em>￥</em>0.00</span>
                                                </div>
                                            </blockquote>
                                        </div>
                                        <div class="layui-tab-item layui-show">
                                            <div class="auth-desc">
                                                <p><i class="layui-icon layui-icon-ok"></i> 长期免费更新升级</p>
                                                <p><i class="layui-icon layui-icon-ok"></i> 仅支持自营项目使用，禁止用于外包</p>
                                                <p><i class="layui-icon layui-icon-ok"></i> 可使用dzd官方所有插件和模块以及YZN免费插件和模块</p>
                                            </div>
                                            <div class="auth-desc">
                                                <p><i class="layui-icon layui-icon-ok"></i> 提供源码，离线独立部署</p>
                                                <p><i class="layui-icon layui-icon-ok"></i> 群和社区技术支持</p>
                                                <p><i class="layui-icon layui-icon-ok"></i> 正版授权，允许商业使用</p>
                                                <p><i class="layui-icon layui-icon-close"></i> 禁止转售应用插件源码</p>
                                            </div>
                                            <blockquote class="layui-elem-quote"><i class="layui-icon layui-icon-add-circle-fine"></i> 单独授权
                                                <div class="pull-right text-danger">
                                                    <span class="license-origin"><del>￥0.00</del></span>
                                                    <span class="license-price"><em>￥</em>0.00</span>
                                                </div>
                                            </blockquote>
                                        </div>
                                    </div>


                                </div>
                            </div>
                            {if $userinfo}
                            {if $file}
                            <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
                                <a href="{$file}" target="_blank" class="layui-btn layui-btn-danger download" style="width: 100%;">
                                    <i class="layui-icon layui-icon-download-circle"></i> 免费下载
                                </a>
                            </div>
                            {/if}
                            {else}
                            <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
                                <a href="{:url('member/index/login')}" target="_blank" class="layui-btn layui-btn-normal" style="width: 100%;">
                                    <i class="layui-icon layui-icon-username"></i> 登录/注册
                                </a>
                            </div>
                            {/if}
                        </div>
                        <div class="layui-card-body">

                        </div>
                    </div>
                </div>

                <div class="fly-panel">
                    <div class="layui-card">
                        <div class="layui-card-header"><i class="layui-icon layui-icon-username"></i> 开发商</div>
                        <div class="layui-card-body">
                            <div class="media media-default">
                                <div class="media-left">
                                    <a class="js-user-card" href="" data-toggle="popover" data-placement="left" data-type="user" data-id="12541" data-original-title="" title="">
                                        <span class="avatar-img"><img src="{:letter_avatar('yzncms')}" alt=""></span>
                                    </a>
                                </div>
                                <div class="media-body">
                                    <div class="title">
                                        <a class="link-dark link-dark" href="">yzncms</a>
                                    </div>
                                    <div class="">有问题私信沟通</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="fly-panel">
                    <div class="layui-card">
                        <div class="layui-card-header"><i class="layui-icon layui-icon-about"></i> 插件信息</div>
                        <div class="layui-card-body">
                            <div class="text-left" style="display: table;padding:10px 0;">
                                <!--介绍区域-->
                                <div class="layui-col-xs12">
                                    <i class="layui-icon layui-icon-fonts-code"></i>插件标识：<span>{$ide}</span>
                                </div>
                                <div class="layui-col-xs12">
                                    <i class="layui-icon layui-icon-app"></i>插件名称：<span>{$title}</span>
                                </div>
                                <div class="layui-col-xs12">
                                    <i class="layui-icon layui-icon-util"></i>最新版本：<span>{$version}</span>
                                </div>
                                <div class="layui-col-xs12">
                                    <i class="layui-icon layui-icon-date"></i>发布日期：<span>{$inputtime|date='Y-m-d H:i'}</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>




                <div class="fly-panel">
                    <div class="layui-card">
                        <div class="layui-card-header"><i class="layui-icon layui-icon-fire"></i> 热门应用</div>
                        <div class="layui-card-body">
                            <div class="layui-row layui-col-space25 merit">
                                {yzn module="cms" action="lists" catid="$catid" catids="$catid" siteId="$siteId" cache="3600" order="hits DESC" num="6" return="data"}
                                {volist name="data" id="item"}
                                    <div class="layui-col-xs6">
                                        <a href="{$item.url}">
                                            <div class="content" title="{$item.title}">
                                                <div class="layui-icon {$item.icon}"><i></i></div>
                                                <div class="layui-text">
                                                    <p class="label">{$item.title}</p>
                                                </div>
                                            </div>
                                        </a>
                                    </div>
                                {/volist}
                                {/yzn}
                            </div>
                        </div>
                    </div>
                </div>


                <div class="fly-panel">
                    <div class="layui-card">
                        <div class="layui-card-header"><i class="layui-icon layui-icon-speaker"></i> 专属推荐</div>
                        <div class="layui-card-body">
                            <div>
                                <a href="" target="_blank" type="button" class="layui-btn layui-btn-normal layui-btn-fluid">阿里云服务器1核/2G/1M(88元/1年) </a>
                            </div>
                            <div style="margin-top: 10px;">
                                <a href="" target="_blank" type="button" class="layui-btn layui-btn-danger layui-btn-fluid">腾讯云服务器1核/2G/1M(74元/1年) </a>
                            </div>
                            <div style="margin-top: 10px;">
                                <a href="https://www.bt.cn/?invite_code=MV92dmlscHQ=" target="_blank" type="button" class="layui-btn layui-btn-warm layui-btn-fluid">专业服务器控制面板 </a>
                            </div>

                        </div>
                    </div>
                </div>
                <div class="fly-panel">
                    <div class="layui-card">
                        <div class="layui-card-header"><i class="layui-icon layui-icon-service"></i> 加入我们</div>
                        <div class="layui-card-body">
                            <div>
                                <a href="" target="_blank" type="button" class="layui-btn layui-btn-fluid">QQ群712780220</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>


    </div>
</div>
{include file="public/footer" /}
